package com.sen.patterns.creational.builder.ex3;

public class MyHouseBuilder extends HouseBuilder {

	protected House house = new House();

	/**
	 * 显示进展情况
	 * @return
	 */
	protected String showProgress() {
		return house.toString();
	}

	/**
	 * 构建地基
	 */
	public void buildFoundation() {
		System.out.println("MyHouseBuilder-->buildFoundation()");
	}

	/**
	 * 构建框架
	 */
	public void buildFrame() {
		System.out.println("MyHouseBuilder-->buildFrame()");
	}

	/**
	 * 构建外部
	 */
	public void buildExterior() {
		System.out.println("MyHouseBuilder-->buildExterior()");
	}

	/**
	 * 构建内部
	 */
	public void buildInterior() {
		System.out.println("MyHouseBuilder-->buildInterior()");
	}
}
